<template>
  <div class="page-title">
    <img style="width: 20px;height: 20px" :src="src" alt="" />
    <span>{{ name }}</span>
  </div>
</template>
<script>
export default {
  name: 'PageTitle',
  props: ['src', 'name']
}
</script>

<style scoped lang="less">
.page-title {
  display: flex;
  height: 24px;
  align-items: center;
  font-size: inherit;
  color: #1D2129;
  font-size: 18px;
  font-weight: bold;

  span {
    padding-left: 10px;
  }
}
</style>